package cn.bluech.example.global;

import android.app.Activity;
import android.content.Intent;

import cn.bluech.example.ui.MainActivity;
import cn.bluech.example.ui.WeatherActivity;
import cn.bluech.example.ui.WifiConnectActivity2;


/**
 * Description:
 * Create by Codeant on 2018/12/9 0009
 */
public class Route {
    public static void j2MainActivity(Activity activity){
        activity.startActivity(new Intent(activity,MainActivity.class));
    }

    public static void j2WifiConnectActivity(Activity activity){
        activity.startActivity(new Intent(activity,WifiConnectActivity2.class));
    }

    public static void j2WeatherActivity(Activity activity){
        activity.startActivity(new Intent(activity, WeatherActivity.class));
    }
}
